package epam.com.myThreads;

public class Place {

	private String namePlace;
	public void setNamePlace(String namePlace) {
		this.namePlace = namePlace;
	}
	public String getNamePlace() {
		return namePlace;
	}

	private int isFree;
	public void setIsFree(int isFree) {
		this.isFree = isFree;
	}
	public int getIsFree() {
		return isFree;
	}

	public Place(String name){
		namePlace = name;
		isFree = 1;
	}
		
}
